﻿$(function () {

    $('.apart-baner .rotator-navi-switch').remove();

    var rotator = new Rotator($('.apart-baner'));

    for (var i = 0; i < $('.apart-baner a').length; i++) {
        rotator.PushItem($('.apart-baner a:eq(' + i + ') img'), $('.apart-baner .apart-baner-text:eq(' + i + ')'));
    }

    rotator.BuidNavi();
    rotator.Start();
});
